Carbon


MPModifyNotification

Header: Multiprocessing.h Carbon status: Supported

Adds a simple notification to a kernel notification.

OSStatus MPModifyNotification (
    MPNotificationID notificationID, 
    MPOpaqueID anID, 
    void *notifyParam1, 
    void *notifyParam2, 
    void *notifyParam3
);
notificationID

The ID of the kernel notification you want to add to..

anID

The ID of the simple notification (semaphore, message group, or event group) you want to add to the kernel notification.

notifyParam1

If anID specifies an event group, this parameter should contain the flags to set in the event group when MPCauseNotification is called. If anID specifies a message queue, this parameter should contain the first 32-bits of the message to be sent to the message queue when MPCauseNotification is called.

notifyParam2

If anID specifies a message queue, this parameter should contain the second 32-bits of the message to be sent to the message queue when MPCauseNotification is called. Pass NULL if you don’t need this parameter.

notifyParam3

If anID specifies a message queue, this parameter should contain the third 32-bits of the message sent to the message queue when MPCauseNotification is called. Pass NULL if you don’t need this parameter.

function result

A result code.

DISCUSSION

You specify the parameters for the simple notifications just as if you were calling the MPSetTimerNotify function.

VERSION NOTES

Introduced with Multiprocessing Services 2.1.

AVAILABILITY

Supported in Carbon. Available in CarbonLib 1.0 and later when MPLibrary 2.1 or later is installed. Exported by CarbonLib 1.0 and later and by MPLibrary 2.1 and later.


© 2000 Apple Computer, Inc. — (Last Updated 4/6/2000)